﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProyectoHCI
{
    public partial class Aviso : Form
    {
        protected Form padre;
        public Aviso(Form p, String mensaje)
        {
            InitializeComponent();
            label1.Text = mensaje;
            padre = p;
        }

        private void botonOK(object sender, EventArgs e)
        {
            //agregarPreguntas.Enabled = true;
            padre.Enabled = true;
            this.Dispose();
        }
    }
}
